<div class="layuimini-main" xmlns:th="http://www.w3.org/1999/xhtml">
<style>
    .layuimini-form .layui-form-item label{ line-height: 40px; text-align: right; padding-right: 10px;}
    #content{ height: 260px;}
</style>
    <div class="layui-form layuimini-form">
        <input type="hidden" id="id" name="id" th:value="${id}">
        <div class="layui-form-item layui-row">
            <label class="layui-col-sm2 required">书名</label>
            <div class="layui-col-sm10">
                <input type="text" id="bookName" name="bookName" lay-verify="required" lay-reqtext="书名不能为空" placeholder="请输入书名" autocomplete="on" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-row">
            <label class="layui-col-sm2 required">作者</label>
            <div class="layui-col-sm10">
                <input type="text" id="author" name="author" lay-verify="required" lay-reqtext="作者不能为空" placeholder="请输入作者" autocomplete="on" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-row">
            <label class="layui-col-sm2 required">书类型</label>
            <div class="layui-col-sm10">
                <input type="text" id="type" name="type" lay-verify="required" lay-reqtext="书类型不能为空" placeholder="请输入书类型" autocomplete="on" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-row">
            <label class="layui-col-sm2 required">简介</label>
            <div class="layui-col-sm10">
                <textarea name="content" id="content" class="layui-textarea" placeholder="请输入简介" lay-verify="required" lay-reqtext="简介不能为空"></textarea>
            </div>
        </div>
        <div class="layui-form-item" style="text-align: right;">
            <div>
                <button class="layui-btn layui-btn-normal" lay-submit lay-filter="saveBtn">保存</button>
                <button class="layui-btn layui-btn-primary" id="closeBtn">取消</button>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="/web/boBook/boBook_add.js"></script>